package cn.wen.forum.pojo.entity;

import cn.wen.forum.pojo.entity.basic.UserBasic;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ClassName User
 * @Author By wen
 * @Description 用户表
 * @Date 2023/3/16 9:04
 * @Version 1.0
 */
@Data
@TableName("tb_user")
public class User extends UserBasic {

    @TableField(exist = false)
    private Long expireTime;
    @TableField(exist = false)
    private String jwt;

    /** 刷新的登录时间*/
    @TableField(exist = false)
    private String loginTimeStr;

    /** 每日评论数*/
    @TableField(exist = false)
    private Integer dayReviewNum;

    /** 每日发帖数*/
    @TableField(exist = false)
    private Integer dayPushPostNum;

    /** 每日点赞数*/
    @TableField(exist = false)
    private Integer dayApprovalNum;

}
